﻿using System;
using System.Threading.Tasks;
using TyNetCoreBlog.Models.Entities;
using TyNetCoreBlog.Repository.RepositoryBase;

namespace TyNetCoreBlog.Repository
{
    public interface IUserRepository : IRepositoryBase<User>, IRepositoryBase2<User, int>
    {
        User Login(string username, string password);
        Task<User> GetUserInfoAsync(int userId);
    }
}
